package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工序管理对象 cp_process
 * 
 * @author GGJ
 * @date 2024-05-20
 */
public class CpProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工序编码 */
    private Long id;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String name;

    /** 操作设备 */
    @Excel(name = "操作设备")
    private String facility;

    /** 质检方案 */
    @Excel(name = "质检方案")
    private String qualityTest;

    /** 原料 */
    @Excel(name = "原料")
    private String ingredient;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFacility(String facility) 
    {
        this.facility = facility;
    }

    public String getFacility() 
    {
        return facility;
    }
    public void setQualityTest(String qualityTest) 
    {
        this.qualityTest = qualityTest;
    }

    public String getQualityTest() 
    {
        return qualityTest;
    }
    public void setIngredient(String ingredient) 
    {
        this.ingredient = ingredient;
    }

    public String getIngredient() 
    {
        return ingredient;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("facility", getFacility())
            .append("qualityTest", getQualityTest())
            .append("ingredient", getIngredient())
            .append("type", getType())
            .append("remark", getRemark())
            .toString();
    }
}
